misc
Class RangeInt

java.lang.Object
  extended by misc.RangeInt

public class RangeInt
extends java.lang.Object

This is a tuple class which is used to pass on an integer range.


Constructor Summary
RangeInt(int lowerbound, int upperbound)
          Specifies a discrete range.
 
Method Summary
 int getLowerbound()
          Returns the lowerbound of the range.
 int getUpperbound()
          Returns the upperbound of the range.
 void setLowerbound(int lowerbound)
          Set the upperbound of the range.
 void setUpperbound(int upperbound)
          Set the upperbound of the range.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeInt

public RangeInt(int lowerbound,
                int upperbound)
Specifies a discrete range.

Parameters:
lowerbound - of the range.
upperbound - of the range.
Method Detail

getLowerbound

public int getLowerbound()
Returns the lowerbound of the range.

Returns:
lowerbound of range.

getUpperbound

public int getUpperbound()
Returns the upperbound of the range.

Returns:
upperbound of range.

setUpperbound

public void setUpperbound(int upperbound)
Set the upperbound of the range.

Parameters:
upperbound - of the range.

setLowerbound

public void setLowerbound(int lowerbound)
Set the upperbound of the range.

Parameters:
lowerbound - of the range.